<?php

include 'lang/en_UK.lang.php';

function lang($name)
{
	global $translation;

	// TODO: get language from session data
	$lang = 'en';

	// TODO: check validity of the name
	return $translation[$lang][$name];
}

?>
